<?php
require("db_conn.php");//包含连接文件
$sql="SELECT * FROM tb_service where id=1";  
  $typers=$conn->query($sql); //执行语句 
  $typerows=$typers->fetch_all(MYSQLI_BOTH);  
$typers->free();
$sql="SELECT * FROM tb_service where id limit 1,4";  
  $typenamers=$conn->query($sql); //执行语句 
  $typenamerows=$typenamers->fetch_all(MYSQLI_BOTH);  
$typenamers->free();

  

